Skip to content

Tests: Add system tests for groupadd in test_groupadd.py - #1695

Draft
asakure wants to merge 3 commits into
shadow-maint:masterfrom
asakure:system_tests_groupadd_25_26_27
Draft

Tests: Add system tests for groupadd in test_groupadd.py#1695
asakure wants to merge 3 commits into
shadow-maint:masterfrom
asakure:system_tests_groupadd_25_26_27

Conversation

@asakure

@asakure asakure commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Add system tests for groupadd in test_groupadd.py for
existing bash tests with numbering 25, 26, 27.

asakure added 3 commits July 23, 2026 00:03
This is Python transformation of the test located in
`tests/grouptools/groupadd/25_groupadd_no_gshadow/groupadd.test`
which checks that `groupadd` succeeds and creates group when
/etc/gshadow file is not present

Signed-off-by: Akshay Sakure <asakure@redhat.com>
This is Python transformation of the test located in
`tests/grouptools/groupadd/26_groupadd_-o_without_-g/groupadd.test`
which checks that `groupadd` fails to create group when -o option is
mentioned without -g option

Signed-off-by: Akshay Sakure <asakure@redhat.com>
This is Python transformation of the test located in
`tests/grouptools/groupadd/27_groupadd_invalid_option/groupadd.test`
which checks that `groupadd` command fails when invalid option is
mentioned

Signed-off-by: Akshay Sakure <asakure@redhat.com>
@asakure
asakure force-pushed the system_tests_groupadd_25_26_27 branch from f34312e to 159959b Compare July 22, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant